<?php

class Mediad2_Model_RolePermission extends Mediad2_Model_Abstract
{
	protected $Role2PermissionId;
	protected $RoleId;
	protected $PermissionId;
	protected $Role;
	protected $Resource;
	protected $Privilege;
	
	/**
     * @return the $Role
     */
    public function getRole ()
    {
        return strtolower($this->Role);
    }

	/**
     * @return the $Resource
     */
    public function getResource ()
    {
        return strtolower($this->Resource);
    }

	/**
     * @return the $Privilege
     */
    public function getPrivilege ()
    {
        return strtolower($this->Privilege);
    }

	/**
     * @param field_type $Role
     */
    public function setRole ($Role)
    {
        $this->Role = $Role;
    }

	/**
     * @param field_type $Resource
     */
    public function setResource ($Resource)
    {
        $this->Resource = $Resource;
    }

	/**
     * @param field_type $Privilege
     */
    public function setPrivilege ($Privilege)
    {
        $this->Privilege = $Privilege;
    }

	/**
     * @return the $Role2PermissionId
     */
    public function getRole2PermissionId ()
    {
        return $this->Role2PermissionId;
    }

	/**
     * @return the $RoleId
     */
    public function getRoleId ()
    {
        return $this->RoleId;
    }

	/**
     * @return the $PermissionId
     */
    public function getPermissionId ()
    {
        return $this->PermissionId;
    }

	/**
     * @param field_type $Role2PermissionId
     */
    public function setRole2PermissionId ($Role2PermissionId)
    {
        $this->Role2PermissionId = $Role2PermissionId;
    }

	/**
     * @param field_type $RoleId
     */
    public function setRoleId ($RoleId)
    {
        $this->RoleId = $RoleId;
    }

	/**
     * @param field_type $PermissionId
     */
    public function setPermissionId ($PermissionId)
    {
        $this->PermissionId = $PermissionId;
    }

}
